package com.pn.taikao.service;

import com.pn.taikao.entity.CheatingRecord;

import java.util.List;

public interface CheatingRecordService {
    /**
     * 记录作弊行为
     */
    void recordCheating(Long examId, String behaviorType, Integer count, java.time.LocalDateTime behaviorTime);
    
    /**
     * 根据考试ID查询作弊行为记录
     */
    List<CheatingRecord> getByExamId(Long examId);
    
    /**
     * 根据考试ID和行为类型查询记录
     */
    List<CheatingRecord> getByExamIdAndType(Long examId, String behaviorType);
}


